<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
        <?php include_http_metas() ?>
        <?php include_metas() ?>
        <?php include_title() ?>
        <link rel="shortcut icon" href="/favicon.ico" />
        <?php include_stylesheets() ?>
        <?php include_javascripts() ?>
    </head>
    <body>
        <div class="wrapper">
            <header class="main">
                <img src="/images/logo.png" alt="logo" class="logo" />
                <section class="login">
                    <form action="<?php echo url_for('cari/proses') ?>">
                        <input type="text" name="teks_cari" id="teks_cari" placeholder="Cari ..." />
                        <input type="submit" value="Cari"/> Selamat Datang <?php //echo $sf_user->getUsername();                                          ?> | <a href="<?php echo url_for('@sf_guard_signout'); ?>">logout</a>
                    </form>
                </section>
                <?php if ($sf_user->getAttribute('subsystem') === 'bk'): ?>
                    <?php include_partial('global/bkmenu') ?>
                <?php elseif ($sf_user->getAttribute('subsystem') === 'uks'): ?>
                    <?php include_partial('global/uksmenu') ?>
                <?php endif; ?>
            </header>
            <section class="main">
                <hr class="break"/>
                <?php if ($sf_user->getAttribute('subsystem') === 'bk'): ?>
                    <?php include_partial('global/bksidemenu') ?>
                <?php elseif ($sf_user->getAttribute('subsystem') === 'uks'): ?>
                    <?php include_partial('global/ukssidemenu') ?>
                <?php endif; ?>
                <section class="content">
                    <?php echo $sf_content; ?>
                </section>
            </section>
            <hr class="break"/>
            <footer class="main">
                &copy; 2012 Universitas Surabaya
            </footer>
        </div>
    </body>
</html>
